<template>
  <div class="brand">
    <h3>品牌制造商</h3>
    <ul>
      <li v-for="item in brandList" :key="item.id">
        <img :src="item.list_pic_url" alt="" />
        <p class="p1">{{ item.name }}</p>
        <p class="p2">￥{{ item.floor_price }}.00元</p>
      </li>
    </ul>
  </div>
  <!-- 品牌制造商 -->
</template>

<script>
export default {
  name: "",
  props: ["brandList"],
  data() {
    return {};
  },

  components: {},

  computed: {},

  created() {},

  mounted() {},

  methods: {},
};
</script>
<style lang='less' scoped>
.brand {
  h3 {
    text-align: center;
    margin-bottom: 10px;
  }
  ul {
    display: flex;
    flex-wrap: wrap;
    li {
      width: 50%;
      position: relative;
      img {
        width: 100%;
        display: block;
      }
      .p1{
        position: absolute;
        top: 7px;
        left: 2px;
        font-size: 16px;
      }
      .p2{
        position: absolute;
        top: 25px;
        left: 2px;
        font-size: 16px;
        color:#8b0000;
      }
    }
  }
}
</style>